﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DELVE_GAME.ViewStructure.GameActions
{
    class SetTurnTimeLimitAction : GameAction
    {
        GameSettings gameSettings;
        int timeLimit;

        public SetTurnTimeLimitAction(GameSettings gamesettings, int timeLimit)
        {
            this.gameSettings = gamesettings;
            this.timeLimit = timeLimit;
        }

        public override void doAction()
        {
            gameSettings.setTimeLimit(timeLimit);
        }
    }
}
